package com.lagou.io;

import java.io.InputStream;

/**
 * @ClassName: Resources
 * @Description: 加载配置文件成字节输入流
 * @Author: qiaojiacheng
 * @Date: 2021/7/22 12:03 下午
 */
public class Resources {

    public static InputStream getResourceAsStream(String path) {
        InputStream resourceAsStream = Resources.class.getClassLoader().getResourceAsStream(path);
        return resourceAsStream;
    }

}
